package com.example.spring.service;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.example.spring.dao.logindao;
import com.example.spring.entity.Login;
@Service
public class loginservice {
@Autowired
private logindao login;
	public Map<String,Object> loginserve(Login Logins) {
		  return  this.login.login(Logins.getUsername(),Logins.getPassword());
		}
}
